import i18n from '../../i18n/i18n'
export const tableOption = {
  border: true,
  index: true,
  indexLabel: i18n.t('publics.serial'),
  indexWidth: i18n.t('language') === 'language' ? 80 : 50,
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [
    {
      label: i18n.t('coupon.shopName'),
      searchLabelWidth: i18n.t('language') === 'language' ? 120 : 80,
      search: true,
      prop: 'shopName'
    },
    {
      label: i18n.t('order.pickUpPoint'),
      searchLabelWidth: i18n.t('language') === 'language' ? 120 : 80,
      search: true,
      prop: 'stationName'
    },
    {
      label: i18n.t('shop.address'),
      search: true,
      prop: 'addr',
      slot: true
    },
    {
      label: i18n.t('platform.phoNumber'),
      prop: 'phone',
      slot: true
    },
    {
      label: i18n.t('shop.accountNumber'),
      searchLabelWidth: i18n.t('language') === 'language' ? 120 : 80,
      search: true,
      prop: 'account'
    },
    {
      label: i18n.t('brand.status'),
      prop: 'status',
      search: true,
      type: 'select',
      slot: true,
      dicData: [
        {
          value: 0,
          label: i18n.t('seckill.close')
        }, {
          value: 1,
          label: i18n.t('shop.business')
        }, {
          value: 2,
          label: i18n.t('components.platformOffline')
        }, {
          value: 3,
          label: i18n.t('liveRoom.underReview')
        }, {
          value: 4,
          label: i18n.t('productComm.noPass')
        }
      ]
    }
  ]
}
